#pragma once

#ifdef IMAGEFINDER_EXPORTS
#define IMAGEFINDER_API __declspec(dllexport)
#else
#define IMAGEFINDER_API __declspec(dllimport)
#endif

extern "C" IMAGEFINDER_API bool __stdcall FindImage(const char *targetPath,
                                                    int searchX,
                                                    int searchY,
                                                    int searchW,
                                                    int searchH,
                                                    int *x,
                                                    int *y);